package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.bxscn;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class BXSCNDeviceListResponse extends SecurityResponse<BXSCNDeviceListResponse.Body> {

	public BXSCNDeviceListResponse() {
		this.body = new Body();
	}

	public BXSCNDeviceListResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		public List<DeviceItem> items;

		public List<DeviceItem> getItems() {
			return items;
		}

		public void setItems(List<DeviceItem> items) {
			this.items = items;
		}
	}

	public static class DeviceItem {

		private String deviceSn;
		private String deviceTypeId;
		private String deviceTypeName;
		private Integer slotTotal;
		private Long placeId;
		private String placeName;
		private String placeAreaName;
		private Integer state;
		private String stateName;
		private Integer portableBatteryCount;
		private Integer emptyCount;
		private Date createDate;

		public String getDeviceSn() {
			return deviceSn;
		}

		public void setDeviceSn(String deviceSn) {
			this.deviceSn = deviceSn;
		}

		public String getDeviceTypeId() {
			return deviceTypeId;
		}

		public void setDeviceTypeId(String deviceTypeId) {
			this.deviceTypeId = deviceTypeId;
		}

		public String getDeviceTypeName() {
			return deviceTypeName;
		}

		public void setDeviceTypeName(String deviceTypeName) {
			this.deviceTypeName = deviceTypeName;
		}

		public Integer getSlotTotal() {
			return slotTotal;
		}

		public void setSlotTotal(Integer slotTotal) {
			this.slotTotal = slotTotal;
		}

		public Long getPlaceId() {
			return placeId;
		}

		public void setPlaceId(Long placeId) {
			this.placeId = placeId;
		}

		public String getPlaceName() {
			return placeName;
		}

		public void setPlaceName(String placeName) {
			this.placeName = placeName;
		}

		public String getPlaceAreaName() {
			return placeAreaName;
		}

		public void setPlaceAreaName(String placeAreaName) {
			this.placeAreaName = placeAreaName;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

		public String getStateName() {
			return stateName;
		}

		public void setStateName(String stateName) {
			this.stateName = stateName;
		}

		public Integer getPortableBatteryCount() {
			return portableBatteryCount;
		}

		public void setPortableBatteryCount(Integer portableBatteryCount) {
			this.portableBatteryCount = portableBatteryCount;
		}

		public Integer getEmptyCount() {
			return emptyCount;
		}

		public void setEmptyCount(Integer emptyCount) {
			this.emptyCount = emptyCount;
		}

		public Date getCreateDate() {
			return createDate;
		}

		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}
	}

}
